﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Main2Column.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="Axis.Web.Views.Home.Default" %>

<%@ Register Src="~/Views/Home/ucRecieveGrift.ascx" TagPrefix="uc" TagName="ucRecieveGrift" %>
<%@ Register Src="~/Views/Project/ucProjectTop3.ascx" TagName="ProjectTop3" TagPrefix="Axis" %>
<%@ Register Src="~/Views/Home/ucSliderMini.ascx" TagName="SliderMini" TagPrefix="Axis" %>
<%@ Register Src="~/Views/TagCloud/TagCloud.ascx" TagName="TagCloud" TagPrefix="Axis" %>
<%@ Register Src="~/Views/News/ucNewsList.ascx" TagName="News" TagPrefix="Axis" %>
<%@ Register Src="../Banner/ucBanner.ascx" TagName="ucBanner" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="WebTitle" runat="server">
    Home | Trúng thưởng | Quà tặng miễn phí | Khảo sát trực tuyến
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="WebHead" runat="server">
    <script>
        var isPageHome = true;
        var RowPerPage = 3;
        function ShowPaging() {
            $("#MoreInfo").remove();

            $("#paging").show();
            $(".page2").click();
        }
        function TextTruncate() {
            $(".content-1").find(".summary").textTruncate(870);
            $(".content-2").find(".summary").textTruncate(570);
            $(".content-3").find(".summary").textTruncate(570);
        }
        $(function () {
            TextTruncate();
        });
    </script>
    <style>
        #MoreInfo
        {
            float: left;
            width: 100%;
            font-family: tahoma;
            font-size: 12px;
            padding: 0px 0 10px 0;
            margin-bottom: 100px;
            border-bottom: solid 2px #A3630B;
            position: relative;
        }
        #MoreInfo div
        {
            float: right;
        }
        #MoreInfo div a
        {
            text-decoration: none;
            color: #555;
            font-family: Arial;
            font-size: 15px;
            cursor: pointer;
        }
        #paging
        {
            display: none;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMainLeft" runat="server">
    <Axis:SliderMini runat="server" ID="ucSliderMini" />
    <Axis:TagCloud runat="server" ID="ucTagCloud" />
    <uc:ucRecieveGrift runat="server" ID="ucucRecieveGrift" />
    <uc1:ucBanner ID="ucBanner1" runat="server" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentMainRight" runat="server">
    <Axis:ProjectTop3 runat="server" ID="ucProjectTop3" />
    <div style="clear: both; overflow: hidden;">
        <Axis:News runat="server" ID="ucNews" />
    </div>
    <div id="MoreInfo">
        <div>
            <a title="xem cac tin khac" onclick="ShowPaging()">Xem thêm các tin khác »</a>
        </div>
    </div>
</asp:Content>
